package com.example.project.projectspringcloud.dao.order;

import com.example.project.projectspringcloud.dao.BaseMapper;
import com.example.project.projectspringcloud.entity.order.OrderReceipt;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface OrderReceiptMapper extends BaseMapper<OrderReceipt> {

    /**
     * 通过order_id 删除
     *
     * @param orderIds
     * @return
     */
    int deleteByOrderIdArray(@Param("orderIds") Integer[] orderIds);
}